<?php

//config.php
//JoshBrown

$iFrameVer = "1,0";
$frameDataFile = "/Applications/servebox/htdocs/iframe/data/framedata.txt";
$IFS_user = "josh";
$IFS_password = "123";
$fp = fopen($frameDataFile,'r');
if (!$fp) {echo 'ERROR: Unable to open file.'; exit;}

while (!feof($fp)) {
	$line = fgets($fp,1024); 
	list ($fname, $fdob, $fdod, $fstatus, $farrow) = @split ('\|', $line);
	
$name = $fname;
$dob = $fdob;
$dod = $fdod;
$status = $fstatus;
$arrow = $farrow;
}

fclose($fp);
$frameList = array($name,$dob,$dod,$status,$arrow);
//print_r($frameList);		Testing only!!

?>
